//File	 : FCMeshConvertUtils.h
//Purpose: Interface header for convertor the graphics properties from 
//		   collada data format to mesh 3d-Coat graphics format and back.
//Data	 : 23/07/2009
//----------------------------------------------------------------------------
#ifndef __FCMeshConvertUtils_H
#define __FCMeshConvertUtils_H
#include "F3DCoat.h"
class FCDMaterial;
namespace FCMeshConvertUtils
{
	void ConvertFCGSource2CoatSources(FCDGeometryMesh *fcMesh, comms::cMeshConatainer &Mesh);
	void ConvertFCTanBinorm2Coat( FCDGeometryMesh *fcMesh, comms::cMeshConatainer &Mesh);
	void ConvertFCMaterial2CoatMaterial(FCDMaterial *material,comms::cMeshConatainer &Mesh);
	void ConvertFCMaterialLib2CoatMaterial(FCDMaterialLibrary *library, comms::cMeshConatainer &Mesh);
};

void FMVector4TwoColor(FMVector4 &fmVect, comms::cColor &cColor);
void ColorTwoFMVector4(comms::cColor &cColor, FMVector4 &fmVect );

#endif
